﻿@using Jhong.FunMVC.Razor
@using Jhong.FunMVCBlog.Controllers
@using Jhong.FunMVCBlog.Core.Entity
@{
    RazorHTMLHelper.Layout = "/Views/Shared/_LayoutPage.cshtml";
}
@{
    var model=(Articles)@ViewData["model"];
}
<ol class="breadcrumb">
    <li><i class="glyphicon glyphicon-home"></i> <a href="/">首页</a></li>
    <li class="active"><i class="glyphicon glyphicon-file"></i> 正文</li>
</ol>
<article class="panel panel-default">
    <header class="panel-heading">
        <h3 class="panel-title">
            <a href="/Home/Article/@model.ID">@model.Title</a>
        </h3>
    </header>
    <div class="panel-meta text-right">
        <span class="author">@HomeController.GetCategoryName(model.CategoryID)</span>
        <time pubdate="">/@model.PublishTime</time>
    </div>
    <div class="panel-body">
        @RazorHTMLHelper.Raw(model.Content)
    </div>
    @RazorHTMLHelper.Raw(HomeController.GetTagName(model.ID))
</article>

